module.exports = {
    publicPath: '/',
    devServer: {
        host: '0.0.0.0',
        port: 82,
        open: true,
        proxy: {
            [process.env.VUE_APP_BASE_API]: {
                // target: 'http://localhost:9905',
                target: 'https://pv.klapower.chu.edu.cn',
                changeOrigin: true,
                pathRewrite: {
                    ['^' + process.env.VUE_APP_BASE_API]: '',
                },
            },
        },
        disableHostCheck: true,
    },
    lintOnSave: false
}
